Prev | Next

Quick Start - Creating Your First Flag

Quick Start

Overview

This chapter describes the steps needed to create a basic 3D Flag animation.

Each chapter in "Learning 3D Flag" relies on your ability to create the basic animation described below, so learn this section first.

A working knowledge of your host program is required to use this plug-in, so familiarize yourself with After Effects Comps, layers, cameras, and lights before continuing. An understanding of the 3D animation system in After Effects will help you fully access the capabilities of this plug-in, although it is not required.

What's Needed

The 3D Flag plug-in creates its own 3D space. If you are working inside of After Effects there is no need to create cameras and lights, although there is the option to use them if you want. If you are in any other host you won't have 3D support any way so there won't be a need to concern yourself.

The plug-in effect is applied to a Solid, Color Matte or Video Layer that is the same size (and with the same pixel aspect ratio) as the Comp or main Monitor Window.

The plug-in will turn the layer it is applied to into a flag, or it can use another layer's image to set the color and size of the flag.

Setting Up The Comp

To create a basic 3D Flag composition, do the following:

  1. Create a 640x480 Comp (use Preset: "NTSC, 640x480"). Set the duration to 10 seconds. Name the Comp "Flag."
  2. Import the image called "Red Cross.jpg" found in the "Tutorial Images" folder within the "Flag Tutorials" folder. This image will be used to determine the color and size of the flag.
  3. Drag the image into the Comp and then turn OFF the visibility switch.



  4. Create a 3D camera using the menu option Layer> New> Camera. Click OK to accept the default settings.

    ATTENTION AE 6.0 USERS:
    The 3D camera should have the following attributes:
         Zoom: 900
         Film Size: 113.39
         Angle of View: 39.15
         Focal Length: 159.4

    Additionally, the Position of the camera should be: 320, 240, -900.
  5. Create a 3D light using the menu option Layer> New> Light. Make the Light Type "Parallel" and click OK.
  6. Create a Solid using the menu option Layer> New> Solid. Name the Solid "My First Flag."

    IMPORTANT: The Solid containing the 3D Flag effect should have the same size and pixel aspect ratio as the Comp. Use the "Make Comp Size" button in the Solid Footage Settings dialog.



    Click OK to add the Solid to the Comp.

    NOTE: Do not make this layer a 3D layer. The image created by the 3D Flag plug-in will look 3D even though the effect is applied to a 2D layer.

Adding The Flag Effect

  1. Select the "My First Flag" Solid.
  2. Add the 3D Flag effect to the "My First Flag" Solid by selecting Effect> Zaxwerks> 3D Flag. Do not add the effect to "Red Cross.jpg" image.



    At this point, the "My First Flag" layer has turned into a flag, as if the layer suddenly went limp like cloth.



    Notice that the color of the flag is the same color as the Solid. While it's possible to create flags this way, we recommend taking an additional step in order to better choose how the flag is colored and sized.
  3. In the Effect Controls window (ECW), find the Color From Layer control and choose "Red Cross.jpg" from the menu.



    The image on the flag becomes the layer you just chose. Notice that the size of the flag has changed to be the same size as the layer you just chose.



At this point, you should have a basic flag animation ready for customization. Save this scene as a starting point for the Learning 3D Flag chapters in the next section.

An example project called "Quick Start.aep" exists in the Tutorials folder. You may use this file when learning each chapter.

Viewing the Flag Animation

The 3D Flag plug-in can display your animation in real-time without needing to do a RAM preview. This is done within the 3D Flag Options window. To view the animation in real-time, do the following:

  1. Click on the 3D Flag logo at the top of the Effect Controls window.


  2. The 3D Flag Options window will be displayed, showing the flag animation in real-time.



  3. Notice how the flag seems to be blowing in the wind.
  4. Click the OK button to close the window.

For now, just remember that you can get a real-time preview of your animation in the 3D Flag Options window. When changing parameter values in the Effect Controls window, it's helpful to see quick results using this preview window.

The 3D Flag Options window, and all of its parameters will be discussed in more detail in the chapter called Changing Flag Attributes.

Match The Comp Size!

The 3D Flag effect must be applied to a Solid that has the same size and pixel aspect ratio of the Comp. If not, then a variety of bad things can happen.



In the above image, the 3D Flag effect was applied to a layer that was smaller than the Comp. Therefore, the resulting flag image gets clipped by the layer's bounds. There are other ways to make a flag smaller. See the Resizing A Flag section in the Creating a Flag chapter for an example.